package com.pms.mq;

import com.pms.mq.jms.MqPayNotify;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by ljb on 2017/11/15.
 */
public class MqTest {

    @Autowired
    private RabbitTemplate rabbitTemplate;

//    public static void main(String[] args) {
//        MqPayNotify mq = new MqPayNotify();
//        mq.receive("{a:12}");   //  json 对象
////        mq.send("this is test MQ!");
////        rabbitTemplate.convertAndSend("123");
//    }
}
